html,body,ul,li,p{
    margin: 0;
    padding: 0;
}
body{
    background-color: #eee;
    box-sizing: border-box;
}
ul,li{
    list-style: none;
}
a{
    text-decoration: none;
    color: #333;
}
.top-container a{
    color: #aaa;
}

/*top*/
.top{
    height: 40px;
    background-color: #333;
    color: #fff;
}
.top-container{
    width: 1226px;
    text-align: center;
    line-height: 40px;
    margin: 0 auto;
    font-size: 12px;
}
.top .top-container .topR .right:hover{
    background-color: #fff;
}

/*header*/
.header{
    width: 100%;
    height: 100px;
    position: relative;
}
.header-container{
    padding: 0;
    height: 90px;
    width: 1226px;
    margin: 0 auto;
    /*background-color: #ccc;*/
    padding-top: 10px;
    /*text-align: center;*/
}
.header-logo{
    margin-left: -10px;;
}
.header .header-container ul{
    margin-left: 240px;
    margin-top: -80px;
}
.header .header-container ul li{
    display: inline-block;
    float: left;
    margin: 10px;
    text-align: center;
    line-height: 100px;
    margin-top: 0px;
    text-align: center;
}
.header .header-container ul li a:hover{
    color: darkorange;
}
input{
    width: 300px;
    height: 50px;
    margin-right: -10px;
    margin-top: 10px;
}

.show-container{
    position: relative;
    height: 230px;
    width: 1226px;
    margin: 0 auto;
    display: none;
}
.show-container ul{
    height: 230px;
    display: none;
    position: absolute;
    height: 230px;
    color: #ccc;
}
.show-container ul li{
    margin-top: 15px;
    float: left;
    width: 200px;
    text-align: center;
    color: #333;
    font-size: 12PX;
}
.show-container ul li img{
    height: 110px;
    margin-top: 40px;
}
.show-container ul li a{
    color: #ccc;
}
.show-container .active{
    display: block;
}
.xinpin{
    position: absolute;
    margin-top: -15px;
    margin-left: 70px;
    width: 65px;
    height: 20px;
    border: 1px solid darkorange;
}

/*轮播图*/
.lunbotu{
    width:1226px;
    margin: 0 auto;
    position: relative;
}

.lunbotu .lunbotu-content .lunbotu-pic li{
    position: absolute;
    top: 0;
    left: 0;
    display: none;
}
.lunbotu .lunbotu-content .lunbotu-pic li.current{
    display: block;
}
.lunbotu .lunbotu-content .lunbotu-indicator{
    position: absolute;
    float: right;
    right: 30px;
    top: 420px;
}
.lunbotu .lunbotu-content .lunbotu-indicator li{
    float: left;
    width: 10px;
    height: 10px;
    background-color: green;
    border-radius: 50%;
    margin: 10px;
    line-height: 20px;
    text-align: center;
    color: deepskyblue;
    cursor: pointer;
}
.lunbotu .lunbotu-content .lunbotu-indicator .aaa{
    background-color: #fff;
}
.lunbotu .lunbotu-content .lunbotu-indicator li:hover{
    background-color: #fff;
}
.lunbotu .lunbotu-content .lunbotu-page1{
    position: absolute;
    /*right: 10px;*/
    left: 235px;
    top: 180px;
    color: white;
}
.lunbotu .lunbotu-content .lunbotu-page2{
    position: absolute;
    float: right;
    top: 180px;
    right: 0;
    justify-content: center;
    cursor: pointer;
}
/*轮播图左侧*/
.title{
    position: absolute;
    width: 235px;
    height: 460px;
    background-color: lightslategrey;
}
.title-left{
    margin-top: 20px;
    margin-bottom: 20px;
}
.title ul li{
    height: 42px;
    line-height: 42px;
    font-size: 12px;
}
.title ul li .s1{
    margin-left: 20px;
    color: #fff;
}
.title ul li .s2{
    margin-right: 20px;
    color: #fff;
    float: right;
}
.title ul li:hover{
    background-color: darkorange;
}
/*轮播图右侧*/
.title-right{
    background-color: #fff;
    top: 0;
    position: absolute;
    left: 235px;
    height: 460px;
    display: none;
}
.title-right ul{
    height: 460px;
    float: left;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}
.title-right ul li{
    margin: 16px;
    width: 200px;
    height: 42px;
    line-height: 42px;
    display: flex;
    justify-content: space-around; 
}
.xiaomi1{
    position: absolute;
    
}
.xiaomi2{
    position: absolute;
    left: 230px;
}
.xiaomi3{
    position: absolute;
    left: 460px;
}
.xiaomi4{
    position: absolute;
    left: 690px;
}
.xuangou{
    border: 1px solid orange;
    color: orange;
    height: 20px;
}
/*轮播图下面内容*/
.lunbotu-floot{
    /*display: inline-block;*/
    position: absolute;
    /*margin-top: 600px;*/
    top: 460px;
    width: 1226px;
    height: 170px;
    margin: 0 auto;
}
.lunbotu-floot .first{
    padding: 0;
    margin-top: 20px;
    padding-bottom: 0;
}
.lunbotu-floot .first ul{
    width: 234px;
    height: 170px;
    background-color: #555;
}
.lunbotu-floot .first ul li{
    margin-top: 0px;
    float: left;
    width: 76px;
    height: 83px;
    border: 1px solid #ccc;
    text-align: center;
    
}
.lunbotu-floot .first ul li p{
    color: #fff;
    font-size: 12px;
}
.lunbotu-floot .first ul li a img{
    margin-top: 10px;
}
.lunbotu-floot div{
    float: left;
    margin-top: 20px;
    margin-right: 10px;
}
.lunbotu-floot .next img{
    width: 316px;
    height: 170px;
}

/*小米明星单品*/
.main{
    width: 1226px;
    margin: 650px auto;
}
h2{
    margin-left: 0;
    margin-top: 30px;
    margin-bottom: 0;
    width: 1226px;
    height: 58px;
    line-height: 58px;
    font-weight: normal;
}
.main .xiaomimingxing .main-danpin{
    width: 1226px;
    height: 380px;
    background-color: #fff;
    overflow: hidden;
}
.main .xiaomimingxing .danpin{
    width: 2480px;
    height: 380px;
}
.main .xiaomimingxing ul li{
    float: left;
    width: 234px;
    height: 340px;
    text-align: center;
    background-color: #eee;
    margin: 5px;
    
}
.main .xiaomimingxing ul li img{
    width: 160px;
    height: 160px;
    margin: 40px;
}
.main .xiaomimingxing ul li p{
    font-size: 12px;
    line-height: 2;
}

/*智能硬件*/
.main-zhineng{
    width: 1226px;
    height: 614px;
    background-color: #eee;
    position: relative;
}
.main-zhineng span img{
    width: 234px;
    height: 614px;
}
.main-zhineng ul{
    position: absolute;
    padding-left: 10px;
    width: 992px;
    height: 614px;
    top: 0;
    left: 234px;
}
.main-zhineng ul li{
    float: left;
    width: 234px;
    height: 300px;
    margin: 5px;
    text-align: center;
    background-color: #fff;
}
.main-zhineng ul li:hover{
    box-shadow: 0px 5px 10px #ccc;
}
.main-zhineng ul li img{
    margin-top: 30px;
    width: 160px;
    height: 160px;
}
.main-zhineng ul li p{
    font-size: 12px;
    line-height: 2;
}
/*搭配*/
.main-dapei{
    height: 58px;
    width: 1226px;
    position: relative;
    
}
.main-dapei .main-header ul{
    margin-top: -58px;
    width: 328px;
    margin-right: -35px;
}
.main-dapei .main-header ul li{
    float: left;
    text-align: center;
    margin: 10px;
}
.main-dapei .main-header ul li:hover{
    color: orange;
    border-bottom: 2px solid darkorange;

}
.main-body{
    width: 324px;
    height: 614px;
    height: 300px;
}

.main-body span img{
    width: 234px;
    height: 300px;
    margin: 5px;
}
.main-body span img:hover{
    box-shadow: 0px 5px 10px #ccc;
}
.main-body ul{
    position: absolute;
    padding-left: 10px;
    width: 992px;
    height: 614px;
    top: 83px;
    left: 234px;
    background-color: #eee;
    display: none;
}
.main-body .active{
    display: block;
}
.main-body ul li{
    float: left;
    width: 234px;
    height: 300px;
    margin: 5px;
    text-align: center;
    background-color: #fff;
}
.main-body ul li:hover{
    box-shadow: 0px 5px 10px #ccc;
}
.main-body ul .small{
    /*position: relative;*/
    width: 234px;
    height: 143px;
}
.main-body ul .small img{
    float: right;
    margin-right: 20px;
    margin-top: 20px;
    width: 80px;
    height: 80px;
}
.main-body ul img{
    margin-top: 20px;
    width: 150px;
    height: 150px;
}
.main-body ul .small span{
    font-size: 12px;
    margin-top: 40px;
    margin-left: 30px;
    /*position: absolute;*/
}
/*配件*/
.main-peijian{
    height: 58px;
    width: 1226px;
    position: relative;
    margin-top: 640px;
}
.main-peijian .main-header ul{
    margin-top: -58px;
    width: 328px;
    margin-right: -55px;
}
.main-peijian .main-header ul li{
    float: left;
    text-align: center;
    margin: 10px;
}
.main-peijian .main-header ul li:hover{
    color: orange;
    border-bottom: 2px solid darkorange;

}
/*周边*/
.main-zhoubian{
    height: 58px;
    width: 1226px;
    position: relative;
    margin-top: 640px;
}
.main-zhoubian .main-header ul{
    margin-top: -58px;
    width: 328px;
    margin-right: -35px;
}
.main-zhoubian .main-header ul li{
    float: left;
    text-align: center;
    margin: 10px;
}
.main-zhoubian .main-header ul li:hover{
    color: orange;
    border-bottom: 2px solid darkorange;

}
/*为你推荐*/
.tuijian{
    margin-top: 640px;
}
h2{
    margin-top: 20px;
    margin-bottom: 0;
    width: 1226px;
    line-height: 58px;
    font-weight: normal;
}
.main .tuijian .main-danpin{
    width: 1226px;
    height: 380px;
    background-color: #fff;
    overflow: hidden;
}
.main .tuijian .danpin{
    width: 4960px;
    height: 380px;
}
.main .tuijian ul li{
    float: left;
    width: 234px;
    height: 340px;
    text-align: center;
    background-color: #eee;
    margin: 5px;
    
}
.main .tuijian ul li img{
    width: 160px;
    height: 160px;
    margin: 40px;
}
.main .tuijian ul li p{
    font-size: 12px;
    line-height: 2;
}
/*热评产品*/
.reping{
    width: 1226px;
    height: 415px;
}
.reping ul{
    text-align: center;
    width: 1240px;
    height: 415px;
}
.reping ul li{
    font-size: 12px;
    width: 296px;
    height: 415px;
    float: left;
    margin: 5px;
}
.reping ul li:hover{
    margin-top: 1px;
    box-shadow: 0px 5px 10px #ccc;
}
.reping ul li img{
    width: 296px;
    height: 220px;
}
.reping ul li p{
    text-align: left;
    width: 240px;
    margin: 10px auto;
    color: black;
}
 .reping ul li a{
     text-align: left;
 }
 /*内容*/
 .neirong{
     margin-top: 80px;
     width: 1226px;
     position: relative;
     margin-bottom: 20px;
 }
 .main-neirong li{
    float: left;
    margin: 5px;
    width: 296px;
    height: 420px;
    background-color: #fff;
    overflow: hidden;
    position: relative;
    
 }
 .main-neirong li:hover{
     margin-top: 1px;
     box-shadow: 0px 5px 10px #ccc;
 }
 .one{
     /*float: left;*/
     background-color: #fff;
     width: 296px;
     height: 420px;
     text-align: center;
     overflow: hidden;
     border-top: 1px solid darkorange;
 }
 .two{
     background-color: #fff;
     width: 296px;
     height: 420px;
     text-align: center;
     overflow: hidden;
     position: relative;
     border-top: 1px solid greenyellow;
 }
 .three{
     background-color: #fff;
     width: 296px;
     height: 420px;
     text-align: center;
     overflow: hidden;
     position: relative;
     border-top: 1px solid darkred;
 }
 .fore{
     background-color: #fff;
     width: 296px;
     height: 420px;
     text-align: center;
     overflow: hidden;
     position: relative;
     border-top: 1px solid blue;
 }
 .tushu{
     background-color: #fff;
     width: 888px;
     height: 420px;
     text-align: center;
     /*overflow: hidden;*/
 }
 .tushu li{
     float: left;
     width: 296px;
     height: 420px;
     margin: 0;
 }
 .tushu span{
     position: absolute;
     top: 330px;
     /*left: 100px;*/
     float: left;
     width: 8px;
     height: 8px;
     border-radius: 50%;
     background-color: #aaa;
 }
 .tushu span:hover{
     background-color: red;
 }
 .tushu div{
     position: absolute;
     top: 220px;
     width: 20px;
     height: 48px;
     font-size: 20px;
     background-color: #ccc;
     line-height: 48px;
 }
 
  .MIUI{
     background-color: #fff;
     width: 888px;
     height: 420px;
     text-align: center;
     /*overflow: hidden;*/
 }
 .MIUI li{
     float: left;
     width: 296px;
     height: 420px;
     margin: 0;
 }
 .two .MIUI span{
     position: absolute;
     top: 330px;
     /*left: 100px;*/
     float: left;
     width: 8px;
     height: 8px;
     border-radius: 50%;
     background-color: #aaa;
 }
 .MIUI span:hover{
     background-color: red;
 }
 .two .MIUI div{
     position: absolute;
     top: 220px;
     width: 20px;
     height: 48px;
     font-size: 20px;
     background-color: #ccc;
     line-height: 48px;
 }
  .youxi{
     background-color: #fff;
     width: 888px;
     height: 420px;
     text-align: center;
     /*overflow: hidden;*/
 }
 .youxi li{
     float: left;
     width: 296px;
     height: 420px;
     margin: 0;
 }
 .three .youxi span{
     position: absolute;
     top: 330px;
     /*left: 100px;*/
     float: left;
     width: 8px;
     height: 8px;
     border-radius: 50%;
     background-color: #aaa;
 }
 .youxi span:hover{
     background-color: red;
 }
 .three .youxi div{
     position: absolute;
     top: 220px;
     width: 20px;
     height: 48px;
     font-size: 20px;
     background-color: #ccc;
     line-height: 48px;
 }
   .jinmi{
     background-color: #fff;
     width: 888px;
     height: 420px;
     text-align: center;
     /*overflow: hidden;*/
 }
 .jinmi li{
     float: left;
     width: 296px;
     height: 420px;
     margin: 0;
 }
 .fore .jinmi span{
     position: absolute;
     top: 330px;
     /*left: 100px;*/
     float: left;
     width: 8px;
     height: 8px;
     border-radius: 50%;
     background-color: #aaa;
 }
 .jinmi span:hover{
     background-color: red;
 }
 .fore .jinmi div{
     position: absolute;
     top: 220px;
     width: 20px;
     height: 48px;
     font-size: 20px;
     background-color: #ccc;
     line-height: 48px;
 }
/*视频*/
.shipin{
    margin-top: 420px;
}
.shipin ul{
    width: 1226px;
    height: 285px;
}
.shipin ul li{
    margin: 5px;
    text-align: center;
    width: 296px;
    height: 285px;
    float: left;
}
.shipin ul li:hover{
    margin-top: 1px;
    box-shadow: 0px 5px 10px #ccc;
}
.shipin ul li img{
    width: 296px;
    height: 180px;
    margin-bottom: 20px;
}
.shipin ul li p{
    line-height: 1.5;
}
/*footer-header*/
.footer-header{
    margin-top: 60px;
    width: 1226px;
    margin: 0 auto;
    height: 80px;
    line-height: 80px;
}
.footer-header ul{
    height: 80px;
    /*background-color: #ccc;*/
}
.footer-header ul li{
    position: relative;
    margin-top: 22.5px;
    float: left;
    width: 242px;
    height: 25px;
    text-align: center;
    color: #555;
    /*background-color: #bbb;*/
}
.footer-header ul li:hover{
    color: darkorange;
    cursor: pointer;
}
.footer-header ul li img{
    position: absolute;
    width: 25px;
    height: 25px;
    top: 0;
    left: 45px;
}
.footer-header ul li span{
    position: absolute;
    font-size: 14px;
    top: -28px;
    left: 70px;
    height: 25px;
}
/*footer-main*/
.footer-main{
    width: 1226px;
    height: 110px;
}
.footer-main dl{
    float: left;
    width: 160px;
    height: 112px;
}
.footer-main dl dt{
    margin-bottom: 10px;
    font-size: 14px;
}
.footer-main dl dd{
    margin-left: 0;
    font-size: 12px;
    color: #aaa;
    line-height: 2;
}
.footer-main dl dd:hover{
    cursor: pointer;
    color: orangered;
}

/*footer-right*/
.footer-right{
    margin-top: 15px;
    width: 252px;
    height: 112px;
    text-align: center;
    border-left: 1px solid #ccc;
}
.footer-right p{
    line-height: 1.5;
}
.footer-right .kefu a{
    line-height: 3.5;
    color: orangered;
    padding: 2px;
    border: 1px solid orangered;
}
/*footer-last*/
.footer-last{
    margin-top: 40px;
}
.footer-last img{
    width: 57px;
    height: 57px;
}
.footer-last ul{
    margin-top: -60px;
    margin-left: 65px;
}
.footer-last ul li{
    float: left;
    font-size: 12px;
    
}
.footer-last ul li a{
    color: #aaa;
    margin-left: 3px;
}
.footer-last ul li span{
     color: #aaa;
 }
.footer-last p{
    margin-left: 65px;
    font-size: 12px;
    color: #aaa;
}
.footer-last p a{
    color: #aaa;
}
.footer-last .footer-logo img{
    width: 85px;
    height: 28px;
}


